@import 'modules/reset.scss';
@import 'modules/header.scss';
@import 'modules/footer.scss';
@import 'modules/leader.scss';
.main {
    width: 100%;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    &-contain {
        width: 100%;
        overflow: hidden;
        .contain-show {
            width: 1280px;
            margin: 20px auto 0;
            .show-box {
                width: 712px;
                padding-left: 30px;
                .box-small {
                    width: 50px;
                    height: 645px;
                    position: relative;
                    .box-small-img {
                        .current.small-list {
                            display: block;
                        }
                        .small-list {
                            display: none;
                            >ul {
                                >li {
                                    width: 50px;
                                    height: 50px;
                                    margin: 10px 0;
                                    border: 1px solid #eee;
                                    position: relative;
                                    img {
                                        width: 100%;
                                        height: 100%;
                                        display: inline;
                                    }
                                }
                            }
                        }
                        .share-collect {
                            position: absolute;
                            width: 50px;
                            height: auto;
                            bottom: 0;
                            left: 0;
                            .share {
                                background: url(https://anta-cn-web.obs.myhwclouds.com/theme/images/antacn/icons/share-cr-bw.svg) no-repeat center -5px;
                                background-size: 40px auto;
                            }
                            .collect {
                                background: url(https://anta-cn-web.obs.myhwclouds.com/theme/images/antacn/icons/heart-cr-g.svg) no-repeat no-repeat center 10px;
                                background-size: 22px auto;
                            }
                            >a {
                                display: block;
                                padding-top: 30px;
                                text-align: center;
                                color: #999;
                                height: 50px;
                                overflow: hidden;
                                line-height: 20px;
                                font-size: 13px;
                            }
                        }
                    }
                }
                // 放大镜
                .box-big {
                    width: 600px;
                    margin-left: 15px;
                    height: 600px;
                    position: relative;
                    border: 1px solid #eee;
                    img {
                        width: 100%;
                    }
                }
            }
            .show-info {
                width: 493px;
                padding-left: 45px;
                min-height: 645px;
                .show-info-top {
                    p {
                        font-size: 14px;
                        color: #999;
                        line-height: 25px;
                    }
                    h3 {
                        font-size: 25px;
                        line-height: 40px;
                    }
                    .goods-price {
                        font-size: 22px;
                        color: #000;
                        font-weight: 600;
                        line-height: 30px;
                        margin: 15px 0;
                    }
                    .promos {
                        background: #f7f7f7;
                        padding: 20px;
                        .promos-title {
                            height: 22px;
                            line-height: 20px;
                            width: 44px;
                            background: #000;
                            color: #fff;
                            text-align: center;
                            font-size: 13px;
                            border-radius: 2px;
                            margin-top: 2px;
                        }
                        .promos-content {
                            margin-left: 60px;
                            a {
                                display: block;
                                font-size: 13px;
                                line-height: 20px;
                                padding: 3px 0;
                                color: #000;
                            }
                        }
                    }
                }
                .show-info-bottom {
                    .goods-color {
                        height: 200px;
                        font-size: 14px;
                        color: #999;
                        line-height: 25px;
                    }
                    .color-list {
                        margin-bottom: 15px;
                        width: 100%;
                        min-height: 120px;
                        display: flex;
                        flex-wrap: wrap;
                        align-content: flex-end;
                        li {
                            width: 80px;
                            display: inline-block;
                            margin-top: 10px;
                            margin-right: 10px;
                            height: 80px;
                            border: 1px solid #eee;
                            cursor: pointer;
                            position: relative;
                            img {
                                width: 100%;
                                height: 100%;
                            }
                        }
                    }
                    .infos-panel {
                        margin: 20px 0 10px 0;
                        border-top: 1px solid #ccc;
                        position: relative;
                        .infos-cell {
                            border-bottom: 1px solid #ccc;
                            padding: 10px 0;
                            height: 30px;
                            >div.half-cell {
                                width: 35%;
                                float: left;
                                >span {
                                    width: 50px;
                                }
                            }
                            >div {
                                height: 30px;
                                line-height: 30px;
                                overflow: hidden;
                                color: #999;
                                font-size: 13px;
                                padding-left: 30px;
                                position: relative;
                                cursor: default;
                                >span {
                                    text-align: left;
                                }
                                >input {
                                    border: none;
                                    height: 30px;
                                    width: 100px;
                                    padding: 0 10px;
                                    line-height: 30px;
                                    outline: 0;
                                    cursor: pointer;
                                    font-size: 14px;
                                    color: #333;
                                }
                                i.icon-right {
                                    display: inline-block;
                                    height: 20px;
                                    width: 20px;
                                    position: absolute;
                                    right: -10px;
                                    top: 0px;
                                }
                            }
                            >.line {
                                display: block;
                                float: left;
                                width: 10%;
                                height: 30px;
                                position: relative;
                            }
                            >i.line::before {
                                position: absolute;
                                content: "";
                                width: 1px;
                                height: 100%;
                                background: #999;
                                left: 40%;
                                top: 0;
                            }
                        }
                        .popup-panel.size-panel {
                            width: 235px;
                            height: auto;
                            bottom: 100%;
                            top: initial;
                        }
                        .popup-panel.active {
                            display: block !important;
                        }
                        .popup-panel {
                            display: none;
                            background: #fff;
                            padding: 20px;
                            position: absolute;
                            .panel-close {
                                display: block;
                                position: absolute;
                                height: 18px;
                                width: 18px;
                                background: url(https://anta-cn-web.obs.myhwclouds.com/theme/images/icons/close-cr-bw.svg) no-repeat center center;
                                top: 7px;
                                right: 7px;
                                background-size: 100% auto;
                            }
                            .panel-title {
                                height: 25px;
                                line-height: 25px;
                                color: #666;
                                font-size: 14px;
                            }
                            .panel-body {
                                ul.current {
                                    display: block;
                                }
                                .color-btn {
                                    cursor: pointer;
                                    display: inline-block;
                                    height: 30px;
                                    border: 1px solid #ccc;
                                    line-height: 34px;
                                    width: 50px;
                                    text-align: center;
                                    font-size: 13px;
                                    color: #000;
                                    margin: 5px 5px 5px 0;
                                    position: relative;
                                    a {
                                        color: #000;
                                        display: block;
                                        width: 100%;
                                        height: 100%;
                                    }
                                }
                                .color-btn:hover {
                                    background: #ccc;
                                }
                            }
                        }
                        .popup-panel.num-panel {
                            width: 200px;
                            left: 55%;
                            top: initial;
                            bottom: 100%;
                            padding: 10px;
                            .num-list {
                                max-height: 200px;
                                overflow-y: auto;
                                li {
                                    border: 1px solid #eee;
                                    height: 34px;
                                    line-height: 32px;
                                    width: 80%;
                                    cursor: pointer;
                                    margin: 5px auto;
                                    text-align: center;
                                }
                                li:hover {
                                    background: #ccc;
                                }
                            }
                        }
                    }
                    .goods-btn {
                        >a {
                            height: 60px;
                            line-height: 58px;
                            display: block;
                            width: 45%;
                            text-align: center;
                            border: 1px solid #666;
                            color: #000;
                            font-size: 17px;
                            margin-top: 10px;
                            background: #fff;
                            cursor: pointer;
                        }
                        >a.buy-btn {
                            background: #000;
                            color: #fff;
                            border-color: #000;
                        }
                    }
                }
            }
        }
        .contain-tab {
            margin-bottom: 20px;
            .tab-left {
                color: #000;
                text-align: right;
                i {
                    display: block;
                    position: absolute;
                    top: 100px;
                    right: 260px;
                    height: 40px;
                    width: 40px;
                    border-left: 1px solid #999;
                    border-top: 1px solid #999;
                    background: #fff;
                    transform: rotate(45deg);
                }
            }
        }
        .tabs>div {
            float: left;
            font-size: 30px;
            display: block;
            width: 50%;
            height: 40px;
            padding: 40px 0;
            letter-spacing: 1px;
            position: relative;
            border-bottom: 1px solid #999;
            margin-bottom: 30px;
            >p {
                width: 550px;
                text-align: center;
                >span {
                    position: relative;
                    display: inline-block;
                    cursor: default;
                    left: 400px;
                }
            }
        }
        .contain-img {
            margin: 0 auto;
            text-align: center;
            width: 1280px;
            overflow: hidden;
            img {
                width: auto;
                border: none;
                display: block !important;
                margin: 0 auto;
            }
        }
    }
}

// 放大镜样式
.mask {
    position: absolute;
    height: 200px;
    width: 200px;
    background: #ccc;
    opacity: .5;
    top: 0;
    left: 0;
    display: none;
}

.biggset-img {
    display: none;
    position: absolute;
    top: 0;
    left: 600px;
    width: 300px;
    height: 300px;
    overflow: hidden;
    >img {
        position: absolute;
        z-index: 99;
        top: 0;
        left: 0;
        height: 900px;
        width: 900px !important;
    }
}